package com.canal.admin.transfer.req.item;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * 渠道号搜索条件
 * @author yangbo
 * @date 2020-06-24 9:00
 */
@Getter
@Setter
public class ItemListConditions {

    /** 关键字 */
    private String keyword;

    /** 页号 */
    @NotNull(message = "未指定页号")
    @Min(value = 0,message = "页号不能小于0")
    private Integer pageNo;

    /** 每页条数 */
    @NotNull(message = "每页条数未指定")
    @Min(value = 0,message = "每页条数不能小于0")
    private Integer pageSize;
}
